[BLK] front: Fix free of event channel.
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Thu, 28 Dec 2006 17:14:41 +0000 (17:14 +0000)
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Thu, 28 Dec 2006 17:14:41 +0000 (17:14 +0000)
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c

index 6b7100a1bc99042ecb3624bc37ee96d1de27ebca..43e524807ac00f18c191aa2c69b7233ed47d2b04 100644 (file)
@@ -384,6 +384,8 @@ static int blkfront_remove(struct xenbus_device *dev)
 
        DPRINTK("blkfront_remove: %s removed\n", dev->nodename);
 
+       xenbus_free_evtchn(dev, info->evtchn);
+
        blkif_free(info, 0);
 
        kfree(info);